package com.leinao.service.impl;

import com.leinao.annotation.DataSource;
import com.leinao.domain.SysDevicePoint;
import com.leinao.domain.enums.DataSourceType;
import com.leinao.mapper.SysDevicePointMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * description
 *
 * @author zhong.wang
 * @date 2025/1/13
 */
@Service
@DataSource(DataSourceType.MYSQLTO)
public class MysqlToDevicePointService {

    @Resource
    private SysDevicePointMapper sysDevicePointMapper;
    public List<SysDevicePoint> getDevicePointList(){
        return sysDevicePointMapper.getDevicePointList();
    }
}
